package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.MaterieListOriginal.MaterieListContent;
import com.isunland.managesystem.entity.OderSaleContent;

public class ShowMaterieDetailActivity extends SingleFragmentActivity {

  private MaterieListContent mContent;
  private OderSaleContent orderContent;

  @Override protected Fragment createFragment() {
    mContent = (MaterieListContent) getIntent().getSerializableExtra(
        ShowMaterieDetailFragment.EXTRA_CONTENT);
    orderContent = (OderSaleContent) getIntent().getSerializableExtra(
        ShowMaterieDetailFragment.EXTRA_ORDER_CONTENT);
    //		return ShowMaterieDetailFragment.newInstance(mContent);
    return ShowMaterieDetailFragment.newInstance(mContent, orderContent);
  }
}
